package com.etc.zzsys.entiy;

/**
 * 自定义bean  多个表查询结果
 * @author Administrator
 *
 */
public class AnswerBean {
	private int qid;
	private String title;//问题
	private String content;//回答的答案
	private String userName;//回答者
	private String adate;//回答时间
	public int getQid() {
		return qid;
	}
	public void setQid(int qid) {
		this.qid = qid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAdate() {
		return adate;
	}
	public void setAdate(String adate) {
		this.adate = adate;
	}
	
	public AnswerBean() {
		// TODO Auto-generated constructor stub
	}
	public AnswerBean(int qid, String title, String content, String userName, String adate) {
		super();
		this.qid = qid;
		this.title = title;
		this.content = content;
		this.userName = userName;
		this.adate = adate;
	}
	@Override
	public String toString() {
		return "AnswerBean [qid=" + qid + ", title=" + title + ", content=" + content + ", userName=" + userName
				+ ", adate=" + adate + "]";
	}
	
	

}
